package com.csx.base.design.behavior.strategy.example.exampleA;

import org.springframework.stereotype.Component;

/**
 * @author cuisongxu
 * @date 2022/9/29 12:12
 */
@Component("wechatPayStrategy")
public class WeChatPayStrategyImpl implements PayStrategy{

    @Override
    public boolean pay() {
        System.out.println("执行微信支付的逻辑");
        return true;
    }
}
